#include "camera.h"

Camera::Camera()
{
   location[x] = location[y] = location[z] = 0;
   direction[x] = direction[y] = 0;
   up[x] = up[z] = 0;
   up[y] = direction[z] = 1;
}

void Camera::UpdateLocation(float X, float Y, float Z)
{
   location[x] = X;
   location[y] = Y;
   location[z] = Z;
}

void Camera::UpdateDirection(float X, float Y, float Z)
{
   direction[x] = X;
   direction[y] = Y;
   direction[z] = Z;
}
